package cn.edu.scau.dormitory_management_system.service;

import cn.edu.scau.dormitory_management_system.entity.PermissionEntity;
import cn.edu.scau.dormitory_management_system.entity.dto.PermissionDto;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDateTime;
import java.util.List;


public interface PermissionService  extends IService<PermissionEntity> {
    List<PermissionEntity> selectPermission(int userId);
    List<PermissionDto> listAll(int roleId);
    Boolean isTrue(PermissionEntity permissionEntity);
}
